package com.blrs.service.enterprise.info;

import com.blrs.common.core.domain.AjaxResult;
import com.blrs.common.core.domain.entity.SysDept;
import com.blrs.common.core.domain.entity.SysUser;
import com.blrs.common.core.page.TableDataInfo;
import com.blrs.domain.BusinessOpportunityInformation;
import com.blrs.domain.ElectricSalesInfo;
import com.blrs.domain.EnterpriseInfo;
import com.blrs.domain.HighSeas;
import com.blrs.domain.vo.BusinessMainClassVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 企业信息Service接口
 * 
 * @author yuxiang.chen
 * @date 2023-08-08
 */
public interface IEnterpriseInfoService 
{
    /**
     * 查询企业信息
     * 
     * @param enterpriseId 企业信息主键
     * @return 企业信息
     */
    public EnterpriseInfo selectEnterpriseInfoByEnterpriseId(String enterpriseId);

    public List<EnterpriseInfo> selectEnterpriseInfoByEnterpriseName(EnterpriseInfo enterpriseInfo);

    public List<Object> selectHighSeasByEnterpriseName(HighSeas data);
    public List<ElectricSalesInfo> selectSaleByEnterpriseName(ElectricSalesInfo data);
    public int enterpriseVerify(SysDept dept);
    public List<EnterpriseInfo> selectEnterpriseInfoByEnterpriseId1(String enterpriseId);
    public int deleteHighSeasByEnterpriseId(String enterpriseId);
    /**
     * 查询企业信息列表
     * 
     * @param enterpriseInfo 企业信息
     * @return 企业信息集合
     */
    public List<EnterpriseInfo> selectEnterpriseInfoList(EnterpriseInfo enterpriseInfo);
    public List<EnterpriseInfo> selectEnterpriseInfoListPrivate(EnterpriseInfo enterpriseInfo);
    public List<EnterpriseInfo> selectEnterpriseInfoListToAdmin(EnterpriseInfo enterpriseInfo);
    public String importExcel(List<EnterpriseInfo> list,String newMarkAs) throws NoSuchFieldException, IllegalAccessException;
    /**
     * 新增企业信息
     * 
     * @param enterpriseInfo 企业信息
     * @return 结果
     */
    public int insertEnterpriseInfo(EnterpriseInfo enterpriseInfo);

    /**
     * 修改企业信息
     * 
     * @param enterpriseInfo 企业信息
     * @return 结果
     */
    public int updateEnterpriseInfo(EnterpriseInfo enterpriseInfo);
    public String getMaxEnterpriseNo(String belongTo);
    public List<EnterpriseInfo> getNewFollowList(EnterpriseInfo enterpriseInfo);
    public List<BusinessOpportunityInformation> getNewBusinessFollowList(BusinessOpportunityInformation data);
    /**
     * 批量删除企业信息
     * 
     * @param enterpriseIds 需要删除的企业信息主键集合
     * @return 结果
     */
    public int deleteEnterpriseInfoByEnterpriseIds(String[] enterpriseIds);

    /**
     * 删除企业信息信息
     * 
     * @param enterpriseId 企业信息主键
     * @return 结果
     */
    public int deleteEnterpriseInfoByEnterpriseId(String enterpriseId);

    public int editMainClass(BusinessMainClassVo businessMainClassVo);
    public int editBusinessManager(BusinessMainClassVo businessMainClassVo);

    List<EnterpriseInfo> getSupplierList(EnterpriseInfo enterpriseInfo);
    public int selectEnterpriseInfoNumber(String belongTo);

    List<SysUser> getBusinessManagerList();

    String getAddressById(String enterpriseId);
}
